Skip to content

[LOW] Pin the Pages deployment action to its reviewed commit - #847

Open
OskarEichler wants to merge 1 commit into
krisk:mainfrom
OskarEichler:codex/security-pin-gh-pages
Open

OskarEichler wants to merge 1 commit into
krisk:mainfrom
OskarEichler:codex/security-pin-gh-pages

Conversation

@OskarEichler

Copy link
Copy Markdown

Issue

The release-tag documentation workflow executes peaceiris/actions-gh-pages through the mutable v4 tag while granting contents: write and passing the repository token. If the upstream tag were retargeted after an action compromise, substituted code would receive that token.

Fix

Pin the action to commit 329bcc8f12caed2cefe5a5b80781499a6f3b361b, the commit currently referenced by v4. The version comment preserves update context.

Verification

  • Confirmed the SHA resolves from the assessed v4 tag
  • The workflow parses successfully as YAML
  • git diff --check passed

Breaking changes

None.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant